﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ZhiLiangShu_GL.aspx.cs" Inherits="syc.ZhiJian.ZhiLiangShu_GL" %>


<head runat="server">
    <title></title>
</head>
<body>
    <script type="text/javascript" language="javascript" src="/common.js"></script>
  <form id="form1" runat="server">
    <div class="wintop">
        质量证明书信息</div> 
    <asp:Panel ID="Panel1" runat="server" CssClass="panel">  
         <asp:Button ID="Button_New" runat="server" Text="录入" CssClass="button" 
             onclick="Button_New_Click"  />
         <asp:Button ID="Button_Search" runat="server" Text="查询" CssClass="button" 
             onclick="Button_Search_Click"   />
    </asp:Panel>
  
    
    </form>
<script>
    var textboxs = document.getElementsByTagName("input");
    var i;
    for (i = 0; i < textboxs.length; i++) {
        if (textboxs[i].className == "textbox") {
            textboxs[i].onchange = function(e) { this.className = "textbox-changed"; };
            textboxs[i].onfocus = function(e) { this.select(); };
        }
        else if (textboxs[i].className == "pageturn" || textboxs[i].className == "intxt1" || textboxs[i].className == "intxt2") {
            textboxs[i].onfocus = function(e) { this.select(); };
        }

    }
    var rows = document.getElementsByTagName("tr");
    for (i = 0; i < rows.length; i++) {

        if (rows[i].className == "grid-row-normal") {
            rows[i].onmouseover = function() { this.className = "grid-row-bright"; };
            rows[i].onmouseout = function() { this.className = "grid-row-normal"; };
            rows[i].onclick = function() { this.firstChild.firstChild.click(); };
        }
    }
    var tds = document.getElementsByTagName("td");
    for (i = 0; i < tds.length; i++) {
        if (tds[i].className == "detailheader") {
            tds[i].innerHTML = tds[i].innerHTML.replace("*", "<span class=required>*</span>");
        }
    }

</script>
</body>
</html>
